<!--
 * @Author: your name
 * @Date: 2021-08-04 14:25:15
 * @LastEditTime: 2021-08-04 18:52:54
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \briup\3-html&css\day03\2-form.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>form</title>
</head>
<body>
    <form action="" method="POST">
        <!-- name   用于设定控件名和提交属性的属性名 -->
    用户名：<input type="text" name="username" id="username" autofocus placeholder="请输入用户名" required><br>
    密码：<input type="text" name="password" id="password" required><br>
    手机：<input type="text" name="phone" id="phone" required pattern="1\d{10}" maxlength="11"><br>
    <!-- value  用于控件初始化，默认值等功能（可选） -->
    <input type="submit" value="提交">
</form>
</body>
</html>